home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $VER: segments.e V0.9B
- **
- ** Segment Definitions.
- **
- ** (C) Copyright 1996-1997 DreamWorld Productions.
- ** All Rights Reserved.
- */
-
- OPT MODULE
- OPT EXPORT
- OPT PREPROCESS
-
- MODULE 'dpkernel/dpkernel','system/register','misc/time','files/files'
-
- /****************************************************************************
- ** Segment object.
- */
-
- CONST SEGVERSION = 1,
- TAGS_SEGMENT = $FFFB0000 OR ID_SEGMENT
-
- OBJECT segment
- head[1] :ARRAY OF head /* 00: Standard structure header */
- prev :PTR TO segment /* 12: Previous segment */
- next :PTR TO segment /* 16: Next segment */
- memtype :LONG /* 20: Memory type (eg MEM_DATA) */
- address :PTR TO CHAR /* 24: Pointer to segment start */
- source :PTR TO filename /* 28: Source of segment */
- ENDOBJECT
-
- CONST SGA_Prev = 12 OR TAPTR,
- SGA_Next = 16 OR TAPTR,
- SGA_MemType = 20 OR TLONG,
- SGA_Source = 28 OR TAPTR
-
-